<?php


class WSB_Controller_Helper_Session extends Zend_Controller_Action_Helper_Abstract
{

	private $_session;

	public function init()
	{
		$this->_session = new Zend_Session_Namespace(get_class($this->getActionController()));
	}

	public function unsetAll()
	{
		$this->_session->unsetAll();
	}

	public function __get($key)
	{
		return $this->_session->$key;
	}

	public function __set($key, $value)
	{
		$this->_session->$key = $value;
	}

	public function __unset($key)
    {
        unset($this->_session->$key);
    }

    public function __isset($key)
    {
		return isset($this->_session->$key);
    }

}
